#ifndef QSCRIPTPARAMETER_H
#define QSCRIPTPARAMETER_H

#include "corelib_global.h"

#include <QString>
#include <QMap>

struct tagScriptParaInfo
{
    QString     m_name;
    QString     m_type;
    QString     m_info;
};

struct tagScriptFuncInfo
{
    QList<tagScriptParaInfo>    m_para;
    QString                     m_userID;
    QString                     m_FuncInfo;
};

class CORELIBSHARED_EXPORT QScriptParameter
{
public:
    QScriptParameter();
    static tagScriptFuncInfo   funcInfo(const QString & userID);
    static void                insertFuncInfo(const tagScriptFuncInfo& info);
protected:
    static QMap<QString,tagScriptFuncInfo>    m_funcInfos;
};

#endif // QSCRIPTPARAMETER_H
